Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TOC on Desktop & Mobile #1129

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

ItzNotABug
Copy link
Contributor

What does this PR do?

As per the discussions, TOC should not show on desktops. Also fixes broken on mobile.

Test Plan

Manual.

Related PRs and Issues

N/A.

Have you read the Contributing Guidelines on issues?

Yes.

@coolify-appwrite-org
Copy link

coolify-appwrite-org bot commented Jul 17, 2024

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2024-11-12 07:21:35 CET

@coolify-appwrite-org
Copy link

coolify-appwrite-org bot commented Aug 5, 2024

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2024-08-05 10:53:03 CET

<main class="web-grid-120-1fr-auto-main /web-is-mobile-closed" id="main">
<div class="web-content">
<div class="web-content" class:web-is-mobile-closed={showToc && !showToc}>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{showToc && !showToc} should always evaluate false right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we might not even need this class here. This PR still requires further fixes anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants